package com.suse.lhw.resourceservere.POJO.input_POJO;

import lombok.Data;

/**
 * @ProjectName: health_manage_system
 * @Package: com.suse.lhw.resourceservere.POJO.input_POJO
 * @ClassName: MMandEUnit
 * @Description: java类作用描述
 * @Author: 李鸿炜
 * @CreateDate: 2020/6/4 3:25
 * @UpdateUser: 更新者
 * @UpdateDate: 2020/6/4 3:25
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
@Data
public class MMandEUnit {

    private Integer mid;

    /**
     * 名字
     */
    private String mmName;

    /**
     * 图片地址
     */
    private String mmImgurl;

    /**
     * 类别的id
     */
    private Integer mmCategoryId;

    /**
     * 默认或者用户上传，用户未上传
     */
    private Integer status;

    /**
     * 它可能是套餐，可能是动作，套餐
     */
    private Integer mmPackagetype;

    /**
     * 描述
     */
    private String mmDescription;

    /**
     * 如果是用户创建的未上传就需要给出用户id
     */
    private String userid;

    /**
     * 难度
     */
    private String difficulty;

    /**
     * 可选属性，视频讲解链接
     */
    private String videourl;

    /**
     * 动作要点
     */
    private String points;

    private Integer uid;

    /**
     * 单位名称
     */
    private String unitName;

    /**
     * 每单位消耗的卡路里
     */
    private Integer consumCalories;

    private Integer quality;

    public MMandEUnit(Integer mid, String mmName, String mmImgurl, Integer mmCategoryId, Integer status, Integer mmPackagetype, String mmDescription, String userid, String difficulty, String videourl, String points, Integer uid, String unitName, Integer consumCalories) {
        this.mid = mid;
        this.mmName = mmName;
        this.mmImgurl = mmImgurl;
        this.mmCategoryId = mmCategoryId;
        this.status = status;
        this.mmPackagetype = mmPackagetype;
        this.mmDescription = mmDescription;
        this.userid = userid;
        this.difficulty = difficulty;
        this.videourl = videourl;
        this.points = points;
        this.uid = uid;
        this.unitName = unitName;
        this.consumCalories = consumCalories;
    }
}
